﻿using HealthcareSystem.API.Read.DTO.Team;
using HealthcareSystem.Domain.BasicSettings.Team;
using MediatR;
using WeekExam.PassPort.ErrorCode;

namespace HealthcareSystem.API.Read.Application.Command.Team
{
    /// <summary>
    /// 查询机构请求
    /// </summary>
    public class QueryInstitutionCommand:IRequest<ApiResult<ApiPaging<List<Institution>>>>
    {
        /// <summary>
        /// 总条数
        /// </summary>
        public int pagindex {  get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int pagesize {  get; set; }
        /// <summary>
        /// 机构名称
        /// </summary>
        public string? InstitutionName { get; set; }
    }
}
